package no.rmz.chez.chess.pieces;

import java.util.Collection;

import no.rmz.chez.chess.board.ChessBoard;
import no.rmz.chez.chess.board.Color;
import no.rmz.chez.chess.board.Coord;
import no.rmz.chez.game.Move;


public final class  Knight extends ChessPiece {
    public Knight(Color c) {
        super(c, "Knight", "N");
    }

    @Override
    public void addMoves(Collection<Move> result, ChessBoard b, Coord c) {
        addMovesToLegaDestinations(result, b, c, c.getKnightsDestinations());
    }
}